Programmatically Select DAQmx Physical Channels for Task Configuration |
您所在的位置:网站首页 › labview physical channel › Programmatically Select DAQmx Physical Channels for Task Configuration |
Overview This example demonstrates a programmatic method for selecting available devices on a system for DAQmx task configuration.
Description Employing methods to programmatically select available devices and physical channel types, allows developers to avoid User input for application deployment. The example below uses the DAQmx System Property Node to isolate the first available Digital Input (DI) lines, and forwards a selected subset for DAQmx Task configuration. This example is meant to be demonstrative of the available System and Device properties that may programmatically be extracted. Further logic may be implemented to isolate specific device names, bus types, or additional I/O types.
Requirements Software LabVIEW 2012 or compatible NI-DAQmx 9.5.5 or compatibleHardware NI Multifunction DAQ Device with at least one counterSteps to Implement or Execute Code 1.Download the attached VI. 2. Set the DAQ device. 3. Run the VI.
Additional Information or References **This document has been updated to meet the current required format for the NI Code Exchange.** Patrick Corcoran Application Engineering Specialist | ControlNational Instruments |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |